package org.example.travel_web.dto.attr;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.example.travel_web.enums.Type;

@Data
public class AttrReq {
    @Schema(description = "类型")
    @NotNull(message = "类型不能为空")
    private Type type;
    @Schema(description = "关联 ID")
    @NotNull(message = "关联 ID 不能为空")
    private Integer relateId;
}
